package com.actionsoft.gulimail.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//整合mybitsplus
    //1.导入依赖
        /*
        <!--mybits-plus-->
                <dependency>
                    <groupId>com.baomidou</groupId>
                    <artifactId>mybatis-plus-boot-starter</artifactId>
                    <version>3.2.0</version>
                </dependency>
         */
    //2.配置
        /*
        1.配置数据源
             配置mysql驱动
             配置application.yml

        2.配置mybitsplus
            @MapperScan配置
            告诉mybitsplus，sql映射文件
         */
@MapperScan("com.actionsoft.gulimail.product.dao")
@SpringBootApplication
public class GulimailProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimailProductApplication.class, args);
    }

}
